package com.zuofei.springcloud.controller;

import com.zuofei.springcloud.entity.ThOpCmd;
import com.zuofei.springcloud.service.ThOpCmdService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * (ThOpCmd)表控制层
 *
 * @author makejava
 * @since 2020-04-08 22:20:42
 */
@RestController
@RequestMapping("thOpCmd")
public class ThOpCmdController {
    /**
     * 服务对象
     */
    @Resource
    private ThOpCmdService thOpCmdService;


    @GetMapping("test")
    public List<ThOpCmd> test(){
        List<String> tabeNameList = new ArrayList<>();
        tabeNameList.add("1001");
        tabeNameList.add("1002");

        return thOpCmdService.findThOpCmdListByDateTable(tabeNameList);
    }
}